#ifndef __KEY_H
#define __KEY_H
#include "stm32g4xx_hal.h"
#include "main.h"
#include "gpio.h"

//uint8_t Key_GetNum(void);
void Key_Init(void);
uint8_t KEY_Scan(uint8_t mode);
#define KEY2_PRES		2 
#define KEY1_PRES		3
#define WK_UP_PRES	1


#endif
